package edu.siu.math.egut.util;

/**
 * Thrown if a substitution is attempted which would transform
 * the multivariate Laurent polynomial represented by a Polynomial
 * object into a more general rational function which can not 
 * be represented by a polynomial object.  The substitution 
 * x->p (x a variable, p a polynomial) is impermissible only if 
 * x appears with a negative exponent *and* p is not a signed 
 * monomial (i.e. a polynomial consisting of a single term in which 
 * the coefficient is 1 or -1).
 * @author Joseph Hundley
 *
 */
public class BadSubstitutionException extends Exception {

    public BadSubstitutionException() {
	super();
	// TODO Auto-generated constructor stub
    }

    public BadSubstitutionException(String arg0, Throwable arg1) {
	super(arg0, arg1);
	// TODO Auto-generated constructor stub
    }

    public BadSubstitutionException(String arg0) {
	super(arg0);
	// TODO Auto-generated constructor stub
    }

    public BadSubstitutionException(Throwable arg0) {
	super(arg0);
	// TODO Auto-generated constructor stub
    }

}
